#ifndef _MAINFORM_H_
#define _MAINFORM_H_

#include <FBase.h>
#include <FUi.h>

class MainForm :
	public Osp::Ui::Controls::Form,
	// a fizikai gombok kezelesehez szukseges
	public Osp::Ui::IKeyEventListener
{

// Construction
public:
	MainForm(void);
	virtual ~MainForm(void);
	bool Initialize(void);

// Implementation
protected:

public:
	virtual result OnInitializing(void);
	virtual result OnTerminating(void);
	// a gombkezeles interfeszenek implementalasahoz muszaj overrideolni az alabbi fgv-eket
	void OnKeyPressed(const Osp::Ui::Control& source, Osp::Ui::KeyCode keyCode);
	void OnKeyReleased(const Osp::Ui::Control& source, Osp::Ui::KeyCode keyCode){};
	void OnKeyLongPressed(const Osp::Ui::Control& source, Osp::Ui::KeyCode keyCode){};
};

#endif	//_MAINFORM_H_
